﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
  <xsl:output method="html" indent="no" />

  <xsl:template match="/">
    <ul class="xoxo">
      <li id="pages">
        <h3>
          TommyDudeBreaux on Twitter
        </h3>
        <xsl:apply-templates select="/statuses/status [position() &lt; 6]" />
      </li>
    </ul>
  </xsl:template>

  <xsl:template match="status">
    <div>
      <xsl:attribute name="class">sidebarItem</xsl:attribute>
      <xsl:value-of select="./text" />
    </div>
  </xsl:template>
</xsl:stylesheet>

